home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / Clueless.swf / scripts / fl / video / AutoLayoutEvent.as next >
Encoding:
Text File  |  2011-10-17  |  963 b   |  36 lines

  1. package fl.video
  2. {
  3.    import flash.events.Event;
  4.    import flash.geom.Rectangle;
  5.    
  6.    public class AutoLayoutEvent extends LayoutEvent implements IVPEvent
  7.    {
  8.       
  9.       public static const AUTO_LAYOUT:String = "autoLayout";
  10.        
  11.       
  12.       private var _vp:uint;
  13.       
  14.       public function AutoLayoutEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:Rectangle = null, param5:Rectangle = null, param6:uint = 0)
  15.       {
  16.          super(param1,param2,param3,param4,param5);
  17.          _vp = param6;
  18.       }
  19.       
  20.       override public function clone() : Event
  21.       {
  22.          return new AutoLayoutEvent(type,bubbles,cancelable,Rectangle(oldBounds.clone()),Rectangle(oldRegistrationBounds.clone()),vp);
  23.       }
  24.       
  25.       public function set vp(param1:uint) : void
  26.       {
  27.          _vp = param1;
  28.       }
  29.       
  30.       public function get vp() : uint
  31.       {
  32.          return _vp;
  33.       }
  34.    }
  35. }
  36.